import _ from "lodash";

let accountInfo = uni.getAccountInfoSync();
let envVersion = accountInfo.miniProgram.envVersion;

let currDomainMap = {
  trial: "https://abc.com",
  develop: "https://abc.com",
  release: "https://abc.com",
};

export let domain = _.get(currDomainMap, envVersion) || "https://abc.com";
